<template>
   <h1>{{title}}</h1>
</template>
<script>
   export default{
       props:{
          title:'标题'
       },
       data(){return {
        
       }}

   }
</script>
<style scoped>
  h1{text-align:center;background-color:#ccc;color:blue}
</style>